<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{$data.title}- 积分换礼 - {$Config.sitename}</title>
    <link rel="stylesheet" href="__CSS__/global.css" />
    <link rel="stylesheet" href="__CSS__/jifen.css" />
    <Admintemplate file="Home/Public/global_js"/>
    <script src="__JS__/jquery.min.js"></script>
</head>

<body>

<div class="b-page">
    <include file="Public:header"/>
	<div class="n-div-bdy" style="padding-top:10px;">
		<div class="n-jf-lt">
			<!--<div class="jf-lt-hd"><a href="{$midad.linkurl}" class="hd-ad"><img src="__FILESURL__{$midad.image}"></a></div>-->
			<div class="jf-lt-dv" style="margin-bottom:20px;">
				<div style="overflow:hidden;">
					<div style="width:20%;height:30px;line-height:30px;font-size:18px;color:#666666;font-weight:bold;float:left;border-bottom:2px solid #ff6600;">积分换礼</div>
					<div style="float:right;width:80%;height:30px;border-bottom:2px solid #dedede;"></div>
				</div>
				
				<div class="b-jifen" style="border:none;">
                <div class="b-jifen__body">
                    <div class="b-jifen__t1">{$data.title}</div>
                    <div class="b-jifen__t2">兑换价格：<span>{$data.needjf}</span> 烘焙圈积分</div>
                    <div class="b-jifen__t2">申请数量：<span>{$data.requestnum}</span> 个</div>
                    <div class="b-jifen__t2">已兑数量：<span>{$data.dhnum}</span> 个</div>
                    <div class="b-jifen__t2">库存数量：<span>{$data.stocknum}</span> 个</div>
                    <div class="b-jifen__t2">邮　　费：{$data.postfee} 元</div>
                    <if condition="$rcount gt 0">
                        <div class="jifen-applied-btn">您已兑换</div>
                        <else/>
                    <div class="b-jifen__t2"><a href="__WEBURL__/jifen/apply/" class="J_ajax_link b-jifen__t4" data-datas="infoid,{$data.id}">我要兑换</a></div>
                        </if>
                    <img src="__FILESURL__{$data.image}" alt="" class="b-jifen__t5">
                </div>

                <div class="jifen-content">{$data.content}</div>
            </div>
				<div class="clear"></div>
			</div>
			
		</div>
		<div class="n-jf-rt">
			<!--<div class="jf-rt-hd">
				<ul>
					<li><a href="/jifen" class="colord">积分换礼</a></li>
					<li><a href="/try">免费试用</a></li>
				</ul>
			</div>-->
			<div class="jf-rt-ad">
				<a href="{$rightad.linkurl}"><img src="__FILESURL__{$rightad.image}"></a>
			</div>
			
            <if condition="$userinfo.userid eq ''">
            <div class="b-jfLogin">
                <a href="__WEBURL__/user/login/register" class="b-jfLogin__btn">注册赢礼品</a>
                已有帐号? 点此<a href="__WEBURL__/user/login" class="b-jfLogin__btn2">登录</a>
                
            </div>
            </if>
			<!--
				  <div class="b-popRightUser" style="border-bottom:1px solid #d6dfe3;padding-top:30px;padding-bottom:20px;">
                <a href="__WEBURL__/u/{$userinfo.openuid}" class="b-popRightUser__pic" style="top:30px;"><img class="l-full" src="{$userinfo.uavatar|getUavatar}"><i class="b-picMask"></i></a>
                <a href="__WEBURL__/u/{$userinfo.openuid}" class="b-popRightUser__name">{$userinfo.nickname}的烘焙厨房</a>
                <div class="b-popRightUser__info">
                    <a href="__WEBURL__/u/{$userinfo.openuid}/fans">{$userinfo.fansnum}</a><span>人关注</span>
                    <span class="b-popRightUser__line">|</span>
                    <a href="__WEBURL__/u/{$userinfo.openuid}">{$userinfo.worksnum}</a><span>个烘焙作品</span>
                </div>
            </div>
            <div style="height:40px;line-height:40px;font-size:18px;color:#000;">我的积分：<b style="color:#ff4c01;">{$userinfo.upoint}</b></div>
			-->
			<div class="jf-rt-dt">
				<div class="jf-dt-tlt">兑换这个礼品的人</div>
				<div class="jf-dt-dv">
					<empty name="dhlist"><div class="nodata">暂无人兑换</div></empty>
                	<foreach name="dhlist" item="al">
                    <div class="b-beiyouItem">
                        <a href="__WEBURL__/u/{$al.openuid}" class="b-beiyouItem__pic"><img src="{$al.uavatar|getUavatar}"><i class="b-popOtherZuopin__itemMask"></i></a>
                        <a href="__WEBURL__/u/{$al.openuid}" class="b-beiyouItem__name">{$al.nickname}</a>
                       
                        <div class="b-beiyouItem__time" style="margin-top:8px;">{$al.create_time|format_time}</div>
                    </div>
                	</foreach>
				
				</div>
			
			</div>
			
			
			
			
		</div>
		<div class="clear"></div>
	</div>
    <include file="Public:footer"/>
</div>
<script src="__JS__/index.js"></script>
<script src="__JS__/jquery.common.js?v=20150101"></script>
<script src="__JS__/jquery.doajax.js"></script>

</body>
</html>